package com.hissy.cn.task;

import java.util.List;

import com.hissy.cn.entity.BaseEntity;

/**
 * Created by zhangyanfei on 2019/1/28.
 *
 * @author zhangyanfei
 * @date 2019/01/28
 */
public class Progress extends BaseEntity{
    public int percent;

    public List<String> messages;

    public void copyFrom(Progress newProgress){
        this.percent=newProgress.percent;
        this.messages.clear();
        this.messages.addAll(newProgress.messages);
    }
}
